<template>
  <el-menu
      default-active="2"
      router
  >
    <el-menu-item index="home">
      <i class="el-icon-user"></i>
      <span slot="title">首页</span>
    </el-menu-item>
    <el-menu-item index="recent_table">
      <i class="el-icon-menu"></i>
      <span slot="title">最近成绩</span>
    </el-menu-item>
    <el-menu-item index="select_grade">
      <i class="el-icon-document"></i>
      <span slot="title">单科查询</span>
    </el-menu-item>
  </el-menu>
</template>

<script>
export default {
  name: "StudentNav"
}
</script>

<style scoped>

</style>